package com.test.demo.entity.dto;

import com.test.demo.entity.UserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("用户")
public class UserInfoDTO extends UserInfo {
    @ApiModelProperty("图形验证码")
    @NotBlank(message = "图形验证码不允许为空")
    private String validateCode;
}